<template>
  <div class="plus">
    <el-popover
      placement="top"
      width="160"
      v-model="visible">
      <div class="button-group">
        <el-button @click="changeVisible">发布新疑惑</el-button>
        <el-button @click="changeVisible">同校约游</el-button>
        <el-button @click="changeVisible">发布搭配</el-button>
        <el-button @click="changeVisible">衣柜展示</el-button>
      </div>
      <span slot="reference">+</span>
    </el-popover>
  </div>
</template>

<script>
export default {
  data () {
    return {
      visible: false
    }
  },
  methods: {
    changeVisible () {
      this.visible = false
    }
  }
}
</script>

<style lang='scss'>
.plus {
  position: fixed;
  bottom: 10ch;
  right: 5ch;
  width: 5ch;
  height: 5ch;
  text-align: center;
  z-index: 99999;
  background-color: rgba(255, 240, 240, 0.829);
  border-radius: 15px;
  opacity: 0.9;
  span {
    padding-top: 30px;
    font-size: 32px;
    font-weight: bolder;
    opacity: 0.99;
    color: #E9BD7A;
  }
  .button-group {
    width: 100%;
  }
}
</style>
